package com.ykh.mybbsdemo.service;

import com.ykh.mybbsdemo.vo.Result;
import com.ykh.mybbsdemo.vo.TagVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-08-30
 * Time: 9:48
 */
public interface TagService {
    //根据文章id查找对应标签
    List<TagVo> findTagsByArticleId(long articleId);

    //查找最热标签
    Result hots(int limit);

    //查询所有文章标签
    Result findAll();

    //查询所有的文章标签(详细)
    Result findAllDetail();

    Result findDetailById(Long id);
}
